package com.newlink.building.common_base.model.bean

import java.io.File
import java.io.Serializable

/**
 * @author wangyang
 * @date 2023/3/30
 * @description 编辑用户信息的Bean
 */
class SetUserInfoBean {
    var id: Long = 0L
    lateinit var picture: String
    lateinit var name: String
    lateinit var mobile: String
    var prjId: Long = 0
    var roomId: Long = 0

//    override fun toString():String {
//        return "SetUserInfoBean is <pic = ${picture.isNotEmpty()?: "null"} , name=  ${name.isNotEmpty()?: "null"}>"
//    }
}

data class UploadAvatarBean(var file: File?) : Serializable

data class NewPasswordBean(
    val firstNewPwd: String,
    val secondNewPwd: String,
    val email: String = "",
    var mobile: String = "",
    var area: String = ""
)

data class NewKitPasswordBean(val userId: Long, val firstNewPwd: String, val secondNewPwd: String)
data class UpdateAvatarBean(
    var id: Long = 0,
    var picture: String = "",
    var prjId: Long = 0,
    var roomId: Long = 0
)
